Optimal. Leaf size=70 \[ \frac{\sin ^3(c+d x) \sqrt{b \cos (c+d x)}}{3 d \cos ^{\frac{7}{2}}(c+d x)}+\frac{\sin (c+d x) \sqrt{b \cos (c+d x)}}{d \cos ^{\frac{3}{2}}(c+d x)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.018236, antiderivative size = 70, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.087, Rules used = {17, 3767} \[ \frac{\sin ^3(c+d x) \sqrt{b \cos (c+d x)}}{3 d \cos ^{\frac{7}{2}}(c+d x)}+\frac{\sin (c+d x) \sqrt{b \cos (c+d x)}}{d \cos ^{\frac{3}{2}}(c+d x)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 17
Rule 3767
Rubi steps
\begin{align*} \int \frac{\sqrt{b \cos (c+d x)}}{\cos ^{\frac{9}{2}}(c+d x)} \, dx &=\frac{\sqrt{b \cos (c+d x)} \int \sec ^4(c+d x) \, dx}{\sqrt{\cos (c+d x)}}\\ &=-\frac{\sqrt{b \cos (c+d x)} \operatorname{Subst}\left (\int \left (1+x^2\right ) \, dx,x,-\tan (c+d x)\right )}{d \sqrt{\cos (c+d x)}}\\ &=\frac{\sqrt{b \cos (c+d x)} \sin (c+d x)}{d \cos ^{\frac{3}{2}}(c+d x)}+\frac{\sqrt{b \cos (c+d x)} \sin ^3(c+d x)}{3 d \cos ^{\frac{7}{2}}(c+d x)}\\ \end{align*}
Mathematica [A] time = 0.0845274, size = 45, normalized size = 0.64 \[ \frac{\left (\frac{1}{3} \tan ^3(c+d x)+\tan (c+d x)\right ) \sqrt{b \cos (c+d x)}}{d \sqrt{\cos (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.269, size = 42, normalized size = 0.6 \begin{align*}{\frac{ \left ( 2\, \left ( \cos \left ( dx+c \right ) \right ) ^{2}+1 \right ) \sin \left ( dx+c \right ) }{3\,d}\sqrt{b\cos \left ( dx+c \right ) } \left ( \cos \left ( dx+c \right ) \right ) ^{-{\frac{7}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.8401, size = 397, normalized size = 5.67 \begin{align*} \frac{4 \,{\left ({\left (3 \, \cos \left (2 \, d x + 2 \, c\right ) + 1\right )} \sin \left (6 \, d x + 6 \, c\right ) + 3 \,{\left (3 \, \cos \left (2 \, d x + 2 \, c\right ) + 1\right )} \sin \left (4 \, d x + 4 \, c\right ) - 3 \, \cos \left (6 \, d x + 6 \, c\right ) \sin \left (2 \, d x + 2 \, c\right ) - 9 \, \cos \left (4 \, d x + 4 \, c\right ) \sin \left (2 \, d x + 2 \, c\right )\right )} \sqrt{b}}{3 \,{\left (2 \,{\left (3 \, \cos \left (4 \, d x + 4 \, c\right ) + 3 \, \cos \left (2 \, d x + 2 \, c\right ) + 1\right )} \cos \left (6 \, d x + 6 \, c\right ) + \cos \left (6 \, d x + 6 \, c\right )^{2} + 6 \,{\left (3 \, \cos \left (2 \, d x + 2 \, c\right ) + 1\right )} \cos \left (4 \, d x + 4 \, c\right ) + 9 \, \cos \left (4 \, d x + 4 \, c\right )^{2} + 9 \, \cos \left (2 \, d x + 2 \, c\right )^{2} + 6 \,{\left (\sin \left (4 \, d x + 4 \, c\right ) + \sin \left (2 \, d x + 2 \, c\right )\right )} \sin \left (6 \, d x + 6 \, c\right ) + \sin \left (6 \, d x + 6 \, c\right )^{2} + 9 \, \sin \left (4 \, d x + 4 \, c\right )^{2} + 18 \, \sin \left (4 \, d x + 4 \, c\right ) \sin \left (2 \, d x + 2 \, c\right ) + 9 \, \sin \left (2 \, d x + 2 \, c\right )^{2} + 6 \, \cos \left (2 \, d x + 2 \, c\right ) + 1\right )} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.63931, size = 115, normalized size = 1.64 \begin{align*} \frac{\sqrt{b \cos \left (d x + c\right )}{\left (2 \, \cos \left (d x + c\right )^{2} + 1\right )} \sin \left (d x + c\right )}{3 \, d \cos \left (d x + c\right )^{\frac{7}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{b \cos \left (d x + c\right )}}{\cos \left (d x + c\right )^{\frac{9}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]